package com.xy.blog.user.controller.model.req;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Map;

/**
 * @author zanhonglei
 * @version V1.0
 * @Description:
 * @date 2019/11/10 12:27 下午
 */
@Data
public class UserReq {

    private Long id;

    @NotBlank(message = "不能为空")
    private String userName;

    @NotBlank(message = "不能为空")
    private Long userTemplateId;

    @NotBlank(message = "不能为空")
    private String userCode;

    /**
     * key 属性id
     * value 属性值
     */
    private Map<Long,String> attrDictMaps;

    /**
     * 该用户所属机构
     */
    private Long orgId;


}
